package com.cxps.server.role.mapper;

import com.cxps.server.role.domain.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cxps.server.role.domain.RoleMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 系统角色 Mapper 接口
 * </p>
 *
 * @author YouCai.Liu
 * @since 2021-10-18
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    void addMenu(List<RoleMenu> list);

    void delMenuByRoleId(String id);

    List<String> getRoleMenuByRoleId(String id);
}
